﻿
namespace TotalSystems.DataAccess.Store
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Data.Objects.DataClasses;
    using System.Linq;
    //using System.ServiceModel.DomainServices.Hosting;
    //using System.ServiceModel.DomainServices.Server;


    // The MetadataTypeAttribute identifies STR_UnitStuffMetadata as the class
    // that carries additional metadata for the STR_UnitStuff class.
    [MetadataTypeAttribute(typeof(STR_UnitStuff.STR_UnitStuffMetadata))]
    public partial class STR_UnitStuff
    {

        // This class allows you to attach custom attributes to properties
        // of the STR_UnitStuff class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class STR_UnitStuffMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private STR_UnitStuffMetadata()
            {
            }

            public short ACC_Fy_ID_fk { get; set; }

            public int PUB_User_ID_fk { get; set; }

            public EntityCollection<STR_Stuff> STR_Stuff { get; set; }

            public bool STR_Us_Active { get; set; }

            public string STR_Us_DeleteDate { get; set; }

            public short STR_Us_ID { get; set; }

            public bool STR_Us_IsExpand { get; set; }

            public string STR_Us_ModifyDate { get; set; }

            public string STR_Us_Name { get; set; }

            public string STR_Us_Note { get; set; }

            public Nullable<int> STR_Us_Parent_ID_fk { get; set; }

            public string STR_Us_Temp { get; set; }

            public Nullable<short> STR_Us_Type { get; set; }
        }
    }
}
